﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="../CM/MainMaster.Master"
    CodeBehind="KR0100P01.aspx.vb" Inherits="Tohto.KR0100P01" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Assembly="Tohto.Base.CustomControl" Namespace="Tohto.Base.CustomControl"
    TagPrefix="cc" %>
<%@ Register Assembly="FarPoint.Web.SpreadJ" Namespace="FarPoint.Web.Spread" TagPrefix="FarPoint" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <script type="text/javascript">
        function DoReady() {
            $("#<%=txt_account_cpmpa_cd.ClientId %>").attr("readonly", "readonly");
            $("#<%=txt_account_cpmpa_nm.ClientId %>").attr("readonly", "readonly");
            $("#<%=txt_nyukin_cust_cd.ClientId %>").attr("readonly", "readonly");
            $("#<%=txt_nyukin_cust_nm.ClientId %>").attr("readonly", "readonly");
        }

        //入金先口座
        function Cpmpai() {
            var nyukinpost = $("#<%=ddl_nyukin_post_cd.ClientId%>").val();
            var returnValue = ShowMDialog("../UT/UT0110P01.aspx?post_cd=" + encodeURIComponent(nyukinpost), dialog_tantosya);
            if (returnValue != null) {
                $("#<%=txt_account_cpmpa_cd.ClientId %>").val(returnValue.code);
                $("#<%=txt_account_cpmpa_nm.ClientId %>").val(returnValue.name);
                return false;
            } else {
                return false;
            }
        }

        //入金先口座クリア
        function CpmpaiClear() {
            $("#<%=txt_account_cpmpa_cd.ClientId %>").val("");
            $("#<%=txt_account_cpmpa_nm.ClientId %>").val("");
            return false;
        }

        //入金顧客
        function NyukinCust() {
            var returnValue = ShowMDialog("../UT/UT0030P01.aspx", dialog_tantosya);
            if (returnValue != null) {
                $("#<%=txt_nyukin_cust_cd.ClientId %>").val(returnValue.code);
                $("#<%=txt_nyukin_cust_nm.ClientId %>").val(returnValue.name);
                return false;
            } else {
                return false;
            }
        }

        //入金顧客クリア
        function NyukinCustClear() {
            $("#<%=txt_nyukin_cust_cd.ClientId %>").val("");
            $("#<%=txt_nyukin_cust_nm.ClientId %>").val("");
            return false;
        }

        //確定ボタン
        function KakuninnCheck() {
            //エラー領域をクリア
            ClearErrorArea();

            ClearErrorBg();

            //入金日が必須入力
            var nyukindt = $("#<%=txt_nyukin_dt.ClientId%>");
            if (checkNull(nyukindt.val())) {
                SetErrorArea("CME0060", '入金日', '', '', '');
                nyukindt.focus();
                nyukindt.addClass("errorRed");
                return false;
            }

            if (!validateDate(nyukindt.val())) {
                SetErrorArea("CME0059", '年月', 'yyyy/MM/dd形式', '', '');
                nyukindt.addClass("errorRed");
                nyukindt.focus();
                return false;
            }

            //入金部署が必須入力
            var nyukinpost = $("#<%=ddl_nyukin_post_cd.ClientId%>");
            if (checkNull(nyukinpost.val())) {
                SetErrorArea("CME0060", '入金部署', '', '', '');
                nyukinpost.focus();
                nyukinpost.addClass("errorRed");
                return false;
            }

            //入金方法が必須入力
            var nyukinhoho = $("#<%=ddl_nyukin_hoho.ClientId%>");
            if (checkNull(nyukinhoho.val())) {
                SetErrorArea("CME0060", '入金方法', '', '', '');
                nyukinhoho.focus();
                nyukinhoho.addClass("errorRed");
                return false;
            }

            //入金方法<>03：現金の場合のみ必須となる
            if (nyukinhoho.val() != "03") {
                //入金先口座が必須入力
                var compacd = $("#<%=txt_account_cpmpa_cd.ClientId%>");
                if (checkNull(compacd.val())) {
                    SetErrorArea("CME0060", '入金先口座', '', '', '');
                    compacd.addClass("errorRed");
                    return false;
                }

                //振込人名が必須入力
                var furikominm = $("#<%=txt_furikomi_nm.ClientId%>");
                if (checkNull(furikominm.val())) {
                    SetErrorArea("CME0060", '振込人名', '', '', '');
                    furikominm.focus();
                    furikominm.addClass("errorRed");
                    return false;
                }
            }

            //入金顧客が必須入力
            var custcd = $("#<%=txt_nyukin_cust_cd.ClientId%>");
            if (checkNull(custcd.val())) {
                SetErrorArea("CME0060", '入金顧客', '', '', '');
                custcd.addClass("errorRed");
                return false;
            }

            //入金額が必須入力
            var kingaku = $("#<%=txt_nyukin_kingaku.ClientId%>");
            if (checkNull(kingaku.val())) {
                SetErrorArea("CME0060", '入金額', '', '', '');
                kingaku.focus();
                kingaku.addClass("errorRed");
                return false;
            }
            return true;
        }

        //入金方法<>03：現金の場合のみ使用可能となり
        function HohoChanged() {
            //入金方法
            var nyukinhoho = $("#<%=ddl_nyukin_hoho.ClientId%>").val();
            if (nyukinhoho == "03") {
                //使不可用
                $("#<%=btn_account_cpmpa.ClientId %>").attr("disabled", "true")     //入金先口座
                $("#<%=txt_furikomi_nm.ClientId %>").attr("readonly", "readonly");  //振込人名
            } else {
                //使可用
                $("#<%=btn_account_cpmpa.ClientId %>").removeAttr("disabled", "false");  //入金先口座
                $("#<%=txt_furikomi_nm.ClientId %>").removeAttr("readonly", "");         //振込人名
            }
        }
    </script>
    <div id="main_div" class="kr0100p01_div_main">
        <div id="search_title">
            <span class="sub_title_marck">◆</span><span class="sub_title">入金登録</span>
        </div>
        <div>
            <table>
                <tr>
                    <td class="border_top label_background kr0100p01_width_114">
                        入金No.
                    </td>
                    <td class="border_top border_right kr0100p01_width_95">
                        <asp:Label class="kr0100p01_num_nine kr0100p01_paddingleft" ID="lab_nyukin_no" runat="server"
                            Text="9999999999"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <div>
            <table>
                <tr>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                    <td class="kr0100p01_width_19 noborder_left noborder_bottom">
                    </td>
                </tr>
                <tr>
                    <td class="label_background" colspan="6">
                        入金日
                    </td>
                    <td colspan="5" class="noborder_bottom">
                        <asp:TextBox CssClass="kr0100p01_ymd_pick ime_disabled" ID="txt_nyukin_dt" runat="server"
                            MaxLength="8" TabIndex="101" Text="2011/11/01"></asp:TextBox>
                        <ajaxToolkit:CalendarExtender CssClass="MyCalendar" ID="hikiate_dt" runat="server"
                            DaysModeTitleFormat="yyyy/MM/dd" Enabled="True" Format="yyyy/MM/dd" PopupButtonID="btn_nyukin_dt"
                            TargetControlID="txt_nyukin_dt" TodaysDateFormat="yyyy年MM月dd日">
                        </ajaxToolkit:CalendarExtender>
                    </td>
                    <td class="border_top noborder_bottom">
                        <asp:Button CssClass="calendar_button" Text="▼" TabIndex="102" ID="btn_nyukin_dt"
                            runat="server" />
                    </td>
                    <td colspan="24" class="noborder_bottom">
                    </td>
                </tr>
                <tr>
                    <td class="label_background" colspan="6">
                        入金部署
                    </td>
                    <td colspan="20" class="border_top">
                        <cc:ReadOnlyDropDownList ID="ddl_nyukin_post_cd" runat="server" CssClass="kr0100p01_ddlnm_25 ime_disabled"
                            TabIndex="103">
                            <asp:ListItem Text="ＮＮＮＮＮＮＮＮＮ２5ＮＮＮＮＮＮＮＮＮ"></asp:ListItem>
                            <asp:ListItem Text="NN"></asp:ListItem>
                            <asp:ListItem Text="ＮＮＮＮＮＮ"></asp:ListItem>
                            <asp:ListItem Text="ＮＮＮＮＮＮＮＮＮ"></asp:ListItem>
                            <asp:ListItem Text="ＮＮＮＮＮＮＮＮＮ２０ＮＮＮ"></asp:ListItem>
                            <asp:ListItem Text="ＮＮＮＮＮＮＮＮＮ２０ＮＮＮＮＮ" Value="1001"></asp:ListItem>
                        </cc:ReadOnlyDropDownList>
                    </td>
                    <td colspan="10" class="noborder_bottom">
                    </td>
                </tr>
                <tr>
                    <td class="label_background" colspan="6">
                        入金方法
                    </td>
                    <td colspan="6" class="border_right">
                        <cc:ReadOnlyDropDownList ID="ddl_nyukin_hoho" runat="server" CssClass="kr0100p01_ddlnm_5 ime_disabled"
                            TabIndex="104" OnChange="HohoChanged();">
                            <asp:ListItem Selected="true" Text="ＮＮＮＮＮ"></asp:ListItem>
                            <asp:ListItem Text="ＮＮＮ"></asp:ListItem>
                            <asp:ListItem Text="ＮＮＮＮＮ"></asp:ListItem>
                        </cc:ReadOnlyDropDownList>
                    </td>
                    <td colspan="24">
                    </td>
                </tr>
                <tr>
                    <td class="label_background" colspan="6">
                        入金先口座
                    </td>
                    <td colspan="5">
                        <asp:TextBox class="kr0100p01_txtnum_nine kr0100p01_paddingleft" ID="txt_account_cpmpa_cd"
                            runat="server" Text="1111111"></asp:TextBox>
                    </td>
                    <td colspan="23">
                        <asp:TextBox class="kr0100p01_nml_20 kr0100p01_paddingleft" ID="txt_account_cpmpa_nm"
                            runat="server" Text="ＮＮＮＮＮＮＮＮＮＮＮ２０ＮＮＮＮＮＮＮＮＮＮＮＮ"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button CssClass="select_button" TabIndex="105" ID="btn_account_cpmpa" runat="server"
                            OnClientClick="return Cpmpai();"/>
                    </td>
                    <td class="border_right">
                        <asp:Button CssClass="clear_button" TabIndex="106" ID="btn_account_cpmpa_clear" runat="server"
                            OnClientClick="return CpmpaiClear();" />
                    </td>
                </tr>
                <tr>
                    <td class="label_background" colspan="6">
                        入金顧客
                    </td>
                    <td colspan="5">
                        <asp:TextBox class="kr0100p01_txtnum_nine kr0100p01_paddingleft" ID="txt_nyukin_cust_cd"
                            runat="server" Text="1111111"></asp:TextBox>
                    </td>
                    <td colspan="23">
                        <asp:TextBox class="kr0100p01_nml_20 kr0100p01_paddingleft" ID="txt_nyukin_cust_nm"
                            runat="server" Text="ＮＮＮＮＮＮＮＮＮＮＮ２０ＮＮＮＮＮＮＮＮＮＮＮＮ"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button CssClass="select_button" TabIndex="107" ID="btn_nyukin_cust" runat="server"
                            OnClientClick="return NyukinCust();" />
                    </td>
                    <td class="border_right">
                        <asp:Button CssClass="clear_button" TabIndex="108" ID="btn_nyukin_cust_clear" runat="server"
                            OnClientClick="return NyukinCustClear();" />
                    </td>
                </tr>
                <tr>
                    <td class="label_background" colspan="6">
                        振込人名
                    </td>
                    <td colspan="19">
                        <asp:TextBox class="kr0100p01_nm_20 kr0100p01_paddingleft" ID="txt_furikomi_nm" runat="server"
                            Text="ＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮ" TabIndex="109"></asp:TextBox>
                    </td>
                    <td colspan="11" class="noborder_bottom">
                    </td>
                </tr>
                <tr>
                    <td class="label_background" colspan="5">
                        入金額
                    </td>
                    <td class="label_background noborder_left">
                    </td>
                    <td colspan="6">
                        <asp:TextBox class="kr0100p01_Decimal_nine kr0100p01_paddingleft" ID="txt_nyukin_kingaku"
                            runat="server" Text="###,###,##9" TabIndex="110"></asp:TextBox>
                    </td>
                    <td class="label_background" colspan="7">
                        未引当額
                    </td>
                    <td colspan="6">
                        <asp:TextBox class="kr0100p01_Decimal_nine kr0100p01_paddingleft" ID="txt_mihikiate_kingaku"
                            runat="server" Text="###,###,##9" TabIndex="111"></asp:TextBox>
                    </td>
                    <td colspan="10">
                    </td>
                    <td class="noborder_bottom noborder_left">
                    </td>
                </tr>
                <tr>
                    <td class="label_background" colspan="5">
                        備考
                    </td>
                    <td class="label_background noborder_left">
                    </td>
                    <td colspan="29">
                        <asp:TextBox class="kr0100p01_nm_biko kr0100p01_paddingleft" ID="txt_kibo" runat="server"
                            Text="ＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮＮ" TabIndex="113"></asp:TextBox>
                    </td>
                    <td class="noborder_bottom">
                    </td>
                </tr>
            </table>
        </div>
        <div class="button_float_right kr0100p01_width_900">
            <div>
                <asp:Button ID="btn_add" TabIndex="114" runat="server" Text="追加" />
            </div>
        </div>
        <div>
            <FarPoint:FpSpread ID="spd_nyukin" runat="server" BorderColor="Black" BorderStyle="Solid"
                BorderWidth="1px" Height="222px" Width="907px" ActiveSheetViewIndex="0" currentPageIndex="0"
                DesignString="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;Spread /&gt;">
                <CommandBar BackColor="Control" ButtonFaceColor="Control" ButtonHighlightColor="ControlLightLight"
                    ButtonShadowColor="ControlDark" Visible="False">
                    <Background BackgroundImageUrl="SPREADCLIENTPATH:/img/cbbg.gif"></Background>
                </CommandBar>
                <Pager Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                    Font-Underline="False" />
                <HierBar Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                    Font-Underline="False" />
                <Sheets>
                    <FarPoint:SheetView SheetName="Sheet1" DesignString="&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;&lt;Sheet&gt;&lt;Data&gt;&lt;RowHeader class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;0&quot; columns=&quot;1&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;/RowHeader&gt;&lt;ColumnHeader class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;1&quot; columns=&quot;5&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;Cells&gt;&lt;Cell row=&quot;0&quot; column=&quot;0&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;引当No.&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;1&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;引当日&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;2&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;引当顧客CD&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;3&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;引当顧客名&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;4&quot;&gt;&lt;Data type=&quot;System.String&quot;&gt;引当額&lt;/Data&gt;&lt;/Cell&gt;&lt;/Cells&gt;&lt;/ColumnHeader&gt;&lt;DataArea class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;0&quot; columns=&quot;5&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;SheetName&gt;Sheet1&lt;/SheetName&gt;&lt;/DataArea&gt;&lt;SheetCorner class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;1&quot; columns=&quot;1&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;/SheetCorner&gt;&lt;ColumnFooter class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;1&quot; columns=&quot;5&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;/ColumnFooter&gt;&lt;/Data&gt;&lt;Presentation&gt;&lt;AxisModels&gt;&lt;Row class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; defaultSize=&quot;19&quot; orientation=&quot;Vertical&quot; count=&quot;0&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;Size&gt;19&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/Row&gt;&lt;Column class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; orientation=&quot;Horizontal&quot; count=&quot;5&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;SortIndicator&gt;Ascending&lt;/SortIndicator&gt;&lt;/Item&gt;&lt;Item index=&quot;0&quot;&gt;&lt;Size&gt;93&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;1&quot;&gt;&lt;Size&gt;99&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;2&quot;&gt;&lt;Size&gt;100&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;3&quot;&gt;&lt;Size&gt;469&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;4&quot;&gt;&lt;Size&gt;114&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/Column&gt;&lt;RowHeaderColumn class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; defaultSize=&quot;40&quot; orientation=&quot;Horizontal&quot; count=&quot;1&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;SortIndicator&gt;Ascending&lt;/SortIndicator&gt;&lt;Size&gt;40&lt;/Size&gt;&lt;/Item&gt;&lt;Item index=&quot;0&quot;&gt;&lt;Size&gt;14&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/RowHeaderColumn&gt;&lt;ColumnHeaderRow class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; defaultSize=&quot;19&quot; orientation=&quot;Vertical&quot; count=&quot;1&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;Size&gt;19&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/ColumnHeaderRow&gt;&lt;ColumnFooterRow class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; defaultSize=&quot;22&quot; orientation=&quot;Vertical&quot; count=&quot;1&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;Size&gt;22&lt;/Size&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/ColumnFooterRow&gt;&lt;/AxisModels&gt;&lt;StyleModels&gt;&lt;RowHeader class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;0&quot; Columns=&quot;1&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;RowHeaderDefault&quot; /&gt;&lt;ConditionalFormatCollections /&gt;&lt;/RowHeader&gt;&lt;ColumnHeader class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;1&quot; Columns=&quot;5&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;ColumnHeaderDefault&quot;&gt;&lt;Background class=&quot;FarPoint.Web.Spread.Background&quot;&gt;&lt;BackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chbg.gif&lt;/BackgroundImageUrl&gt;&lt;SelectedBackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chm.png&lt;/SelectedBackgroundImageUrl&gt;&lt;/Background&gt;&lt;/DefaultStyle&gt;&lt;ConditionalFormatCollections /&gt;&lt;/ColumnHeader&gt;&lt;DataArea class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;0&quot; Columns=&quot;5&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;DataAreaDefault&quot; /&gt;&lt;ColumnStyles&gt;&lt;ColumnStyle Index=&quot;0&quot;&gt;&lt;CellType class=&quot;FarPoint.Web.Spread.ButtonCellType&quot;&gt;&lt;CommandName&gt;Button&lt;/CommandName&gt;&lt;Text&gt;Button&lt;/Text&gt;&lt;ButtonCellType /&gt;&lt;/CellType&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;1&quot;&gt;&lt;CellType class=&quot;FarPoint.Web.Spread.DateTimeCellType&quot;&gt;&lt;ErrorMsg&gt;設定可能な値は、0002/01/01 から 9998/12/31 までの範囲です。&lt;/ErrorMsg&gt;&lt;AllowWrap&gt;False&lt;/AllowWrap&gt;&lt;GeneralCellType /&gt;&lt;FormatString&gt;d&lt;/FormatString&gt;&lt;DateTimeFormat&gt;AAEAAAD/////AQAAAAAAAAAEAQAAACdTeXN0ZW0uR2xvYmFsaXphdGlvbi5EYXRlVGltZUZvcm1hdEluZm8rAAAABm1fbmFtZQxhbURlc2lnbmF0b3IMcG1EZXNpZ25hdG9yDWRhdGVTZXBhcmF0b3IXZ2VuZXJhbFNob3J0VGltZVBhdHRlcm4WZ2VuZXJhbExvbmdUaW1lUGF0dGVybg10aW1lU2VwYXJhdG9yD21vbnRoRGF5UGF0dGVybhVkYXRlVGltZU9mZnNldFBhdHRlcm4IY2FsZW5kYXIOZmlyc3REYXlPZldlZWsQY2FsZW5kYXJXZWVrUnVsZRNmdWxsRGF0ZVRpbWVQYXR0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GJgAAAAdIOm1tOnNzBicAAAAISEg6bW06c3MGKAAAAAp0dCBoOm1tOnNzBikAAAALdHQgaGg6bW06c3MPEgAAAAMAAAAIAQAAAAMAAAACAAAACw==&lt;/DateTimeFormat&gt;&lt;MinValue&gt;0002/01/01 0:00:00&lt;/MinValue&gt;&lt;DateTimeCellType /&gt;&lt;/CellType&gt;&lt;Locked&gt;True&lt;/Locked&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;2&quot;&gt;&lt;CellType class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;LabelCellType /&gt;&lt;/CellType&gt;&lt;Locked&gt;True&lt;/Locked&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;3&quot;&gt;&lt;CellType class=&quot;FarPoint.Web.Spread.LabelCellType&quot;&gt;&lt;LabelCellType /&gt;&lt;/CellType&gt;&lt;Locked&gt;True&lt;/Locked&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;ColumnStyle Index=&quot;4&quot;&gt;&lt;HorizontalAlign&gt;Right&lt;/HorizontalAlign&gt;&lt;Locked&gt;True&lt;/Locked&gt;&lt;VerticalAlign&gt;Middle&lt;/VerticalAlign&gt;&lt;/ColumnStyle&gt;&lt;/ColumnStyles&gt;&lt;ConditionalFormatCollections /&gt;&lt;/DataArea&gt;&lt;SheetCorner class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;1&quot; Columns=&quot;1&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;CornerDefault&quot;&gt;&lt;Background class=&quot;FarPoint.Web.Spread.Background&quot;&gt;&lt;BackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chbg.gif&lt;/BackgroundImageUrl&gt;&lt;SelectedBackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chm.png&lt;/SelectedBackgroundImageUrl&gt;&lt;/Background&gt;&lt;/DefaultStyle&gt;&lt;ConditionalFormatCollections /&gt;&lt;/SheetCorner&gt;&lt;ColumnFooter class=&quot;FarPoint.Web.Spread.Model.DefaultSheetStyleModel&quot; Rows=&quot;1&quot; Columns=&quot;5&quot;&gt;&lt;AltRowCount&gt;2&lt;/AltRowCount&gt;&lt;DefaultStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;ColumnFooterDefault&quot; /&gt;&lt;ConditionalFormatCollections /&gt;&lt;/ColumnFooter&gt;&lt;/StyleModels&gt;&lt;MessageRowStyle class=&quot;FarPoint.Web.Spread.Appearance&quot;&gt;&lt;BackColor&gt;LightYellow&lt;/BackColor&gt;&lt;ForeColor&gt;Red&lt;/ForeColor&gt;&lt;/MessageRowStyle&gt;&lt;SheetCornerStyle class=&quot;FarPoint.Web.Spread.NamedStyle&quot; Parent=&quot;CornerDefault&quot;&gt;&lt;Background class=&quot;FarPoint.Web.Spread.Background&quot;&gt;&lt;BackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chbg.gif&lt;/BackgroundImageUrl&gt;&lt;SelectedBackgroundImageUrl&gt;SPREADCLIENTPATH:/img/chm.png&lt;/SelectedBackgroundImageUrl&gt;&lt;/Background&gt;&lt;/SheetCornerStyle&gt;&lt;AllowLoadOnDemand&gt;false&lt;/AllowLoadOnDemand&gt;&lt;LoadRowIncrement &gt;10&lt;/LoadRowIncrement &gt;&lt;LoadInitRowCount &gt;30&lt;/LoadInitRowCount &gt;&lt;AllowVirtualScrollPaging&gt;false&lt;/AllowVirtualScrollPaging&gt;&lt;TopRow&gt;0&lt;/TopRow&gt;&lt;PreviewRowStyle class=&quot;FarPoint.Web.Spread.PreviewRowInfo&quot; /&gt;&lt;/Presentation&gt;&lt;Settings&gt;&lt;Name&gt;Sheet1&lt;/Name&gt;&lt;Categories&gt;&lt;Appearance&gt;&lt;GridLineColor&gt;#d0d7e5&lt;/GridLineColor&gt;&lt;RowHeaderAutoText&gt;Blank&lt;/RowHeaderAutoText&gt;&lt;ColumnHeaderHeight&gt;19&lt;/ColumnHeaderHeight&gt;&lt;SelectionBackColor&gt;#eaecf5&lt;/SelectionBackColor&gt;&lt;SelectionBorder class=&quot;FarPoint.Web.Spread.Border&quot; /&gt;&lt;/Appearance&gt;&lt;Behavior&gt;&lt;EditTemplateColumnCount&gt;2&lt;/EditTemplateColumnCount&gt;&lt;AllowPage&gt;False&lt;/AllowPage&gt;&lt;GroupBarText&gt;グループ化するときには、ここに列名をドラッグします。&lt;/GroupBarText&gt;&lt;/Behavior&gt;&lt;Layout&gt;&lt;RowHeaderColumnCount&gt;1&lt;/RowHeaderColumnCount&gt;&lt;DefaultRowHeight&gt;19&lt;/DefaultRowHeight&gt;&lt;ColumnHeaderRowCount&gt;1&lt;/ColumnHeaderRowCount&gt;&lt;RowCount&gt;0&lt;/RowCount&gt;&lt;ColumnCount&gt;5&lt;/ColumnCount&gt;&lt;/Layout&gt;&lt;/Categories&gt;&lt;ColumnHeaderRowCount&gt;1&lt;/ColumnHeaderRowCount&gt;&lt;ColumnFooterRowCount&gt;1&lt;/ColumnFooterRowCount&gt;&lt;PrintInfo&gt;&lt;Header /&gt;&lt;Footer /&gt;&lt;ZoomFactor&gt;0&lt;/ZoomFactor&gt;&lt;FirstPageNumber&gt;1&lt;/FirstPageNumber&gt;&lt;Orientation&gt;Auto&lt;/Orientation&gt;&lt;PrintType&gt;All&lt;/PrintType&gt;&lt;PageOrder&gt;Auto&lt;/PageOrder&gt;&lt;BestFitCols&gt;False&lt;/BestFitCols&gt;&lt;BestFitRows&gt;False&lt;/BestFitRows&gt;&lt;PageStart&gt;-1&lt;/PageStart&gt;&lt;PageEnd&gt;-1&lt;/PageEnd&gt;&lt;ColStart&gt;-1&lt;/ColStart&gt;&lt;ColEnd&gt;-1&lt;/ColEnd&gt;&lt;RowStart&gt;-1&lt;/RowStart&gt;&lt;RowEnd&gt;-1&lt;/RowEnd&gt;&lt;ShowBorder&gt;True&lt;/ShowBorder&gt;&lt;ShowGrid&gt;True&lt;/ShowGrid&gt;&lt;ShowColor&gt;True&lt;/ShowColor&gt;&lt;ShowColumnHeader&gt;Inherit&lt;/ShowColumnHeader&gt;&lt;ShowRowHeader&gt;Inherit&lt;/ShowRowHeader&gt;&lt;ShowColumnFooter&gt;Inherit&lt;/ShowColumnFooter&gt;&lt;ShowColumnFooterEachPage&gt;True&lt;/ShowColumnFooterEachPage&gt;&lt;ShowTitle&gt;True&lt;/ShowTitle&gt;&lt;ShowSubtitle&gt;True&lt;/ShowSubtitle&gt;&lt;UseMax&gt;True&lt;/UseMax&gt;&lt;UseSmartPrint&gt;False&lt;/UseSmartPrint&gt;&lt;Opacity&gt;255&lt;/Opacity&gt;&lt;PrintNotes&gt;None&lt;/PrintNotes&gt;&lt;Centering&gt;None&lt;/Centering&gt;&lt;RepeatColStart&gt;-1&lt;/RepeatColStart&gt;&lt;RepeatColEnd&gt;-1&lt;/RepeatColEnd&gt;&lt;RepeatRowStart&gt;-1&lt;/RepeatRowStart&gt;&lt;RepeatRowEnd&gt;-1&lt;/RepeatRowEnd&gt;&lt;SmartPrintPagesTall&gt;1&lt;/SmartPrintPagesTall&gt;&lt;SmartPrintPagesWide&gt;1&lt;/SmartPrintPagesWide&gt;&lt;HeaderHeight&gt;-1&lt;/HeaderHeight&gt;&lt;FooterHeight&gt;-1&lt;/FooterHeight&gt;&lt;/PrintInfo&gt;&lt;TitleInfo class=&quot;FarPoint.Web.Spread.TitleInfo&quot;&gt;&lt;Style class=&quot;FarPoint.Web.Spread.StyleInfo&quot;&gt;&lt;BackColor&gt;#e7eff7&lt;/BackColor&gt;&lt;HorizontalAlign&gt;Right&lt;/HorizontalAlign&gt;&lt;/Style&gt;&lt;/TitleInfo&gt;&lt;LayoutTemplate class=&quot;FarPoint.Web.Spread.LayoutTemplate&quot;&gt;&lt;Layout&gt;&lt;ColumnCount&gt;4&lt;/ColumnCount&gt;&lt;RowCount&gt;1&lt;/RowCount&gt;&lt;/Layout&gt;&lt;Data&gt;&lt;LayoutData class=&quot;FarPoint.Web.Spread.Model.DefaultSheetDataModel&quot; rows=&quot;1&quot; columns=&quot;4&quot;&gt;&lt;AutoCalculation&gt;True&lt;/AutoCalculation&gt;&lt;AutoGenerateColumns&gt;True&lt;/AutoGenerateColumns&gt;&lt;ReferenceStyle&gt;A1&lt;/ReferenceStyle&gt;&lt;Iteration&gt;False&lt;/Iteration&gt;&lt;MaximumIterations&gt;1&lt;/MaximumIterations&gt;&lt;MaximumChange&gt;0.001&lt;/MaximumChange&gt;&lt;Cells&gt;&lt;Cell row=&quot;0&quot; column=&quot;0&quot;&gt;&lt;Data type=&quot;System.Int32&quot;&gt;0&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;1&quot;&gt;&lt;Data type=&quot;System.Int32&quot;&gt;1&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;2&quot;&gt;&lt;Data type=&quot;System.Int32&quot;&gt;2&lt;/Data&gt;&lt;/Cell&gt;&lt;Cell row=&quot;0&quot; column=&quot;3&quot;&gt;&lt;Data type=&quot;System.Int32&quot;&gt;3&lt;/Data&gt;&lt;/Cell&gt;&lt;/Cells&gt;&lt;/LayoutData&gt;&lt;/Data&gt;&lt;AxisModels&gt;&lt;LayoutColumn class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; orientation=&quot;Horizontal&quot; count=&quot;4&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot;&gt;&lt;SortIndicator&gt;Ascending&lt;/SortIndicator&gt;&lt;/Item&gt;&lt;/Items&gt;&lt;/LayoutColumn&gt;&lt;LayoutRow class=&quot;FarPoint.Web.Spread.Model.DefaultSheetAxisModel&quot; orientation=&quot;Vertical&quot; count=&quot;1&quot;&gt;&lt;Items&gt;&lt;Item index=&quot;-1&quot; /&gt;&lt;/Items&gt;&lt;/LayoutRow&gt;&lt;/AxisModels&gt;&lt;/LayoutTemplate&gt;&lt;LayoutMode&gt;CellLayoutMode&lt;/LayoutMode&gt;&lt;CurrentPageIndex type=&quot;System.Int32&quot;&gt;0&lt;/CurrentPageIndex&gt;&lt;/Settings&gt;&lt;/Sheet&gt;"
                        RowHeaderAutoText="Blank" ColumnHeaderHeight="19" DefaultRowHeight="19" AllowPage="False">
                        <ColumnHeader Height="19" />
                        <RowHeader AutoText="Blank" />
                    </FarPoint:SheetView>
                </Sheets>
                <TitleInfo BackColor="#E7EFF7" ForeColor="" HorizontalAlign="Center" VerticalAlign="NotSet"
                    Font-Size="X-Large" Font-Bold="False" Font-Italic="False" Font-Overline="False"
                    Font-Strikeout="False" Font-Underline="False">
                </TitleInfo>
            </FarPoint:FpSpread>
        </div>
        <div class="kr0100p01_topmargin_19">
            <table>
                <tr>
                    <td class="noborder_bottom noborder_left kr0100p01_width_750">
                    </td>
                    <td class="label_background kr0100p01_center kr0100p01_width_110 border_top">
                        合計
                    </td>
                    <td class="border_right kr0100p01_width_110 border_top">
                        <asp:Label class="kr0100p01_sum_num_nine kr0100p01_paddingleft" ID="lab_sosai_kingaku_total"
                            runat="server" Text="1,111,111"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    <asp:HiddenField ID="rowidnyukin" runat="server" Value="" />
    <asp:HiddenField ID="lasttms" runat="server" Value="" />
</asp:Content>
